package com.example.demo.dao.mapper;

import com.example.demo.dao.model.SysSession;
import com.example.demo.dao.model.SysSessionCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysSessionMapper {
    long countByCriteria(SysSessionCriteria Criteria);

    int deleteByCriteria(SysSessionCriteria Criteria);

    int deleteByPrimaryKey(String sessionId);

    int insert(SysSession record);

    int insertSelective(SysSession record);

    List<SysSession> selectByCriteria(SysSessionCriteria Criteria);

    SysSession selectByPrimaryKey(String sessionId);

    int updateByCriteriaSelective(@Param("record") SysSession record, @Param("example") SysSessionCriteria Criteria);

    int updateByCriteria(@Param("record") SysSession record, @Param("example") SysSessionCriteria Criteria);

    int updateByPrimaryKeySelective(SysSession record);

    int updateByPrimaryKey(SysSession record);
}